import {PropsWithChildren, useEffect} from 'react'
import { useLaunch} from '@tarojs/taro'
import Utils from "@/utils/common";

import './app.less'


function App({children}: PropsWithChildren<any>) {
  useEffect(() => {
    Utils.updateManager()
  })
  useLaunch(async (options) => {
    console.log('App launched')
    Utils.testJson("000")
  })

  // children 是将要会渲染的页面
  return children
}


export default App
